/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package MNetSockets.DataChanel;

import java.net.SocketAddress;

/**
 *
 * @author wcss
 */
public class QueueObject 
{
    
    public QueueObject(SocketAddress addr,String datas)
    {
        this.setAddress(addr);
        this.setData(datas);
    }
    
    private SocketAddress address;
    private String data;

    /**
     * @return the address
     */
    public SocketAddress getAddress() {
        return address;
    }

    /**
     * @param address the address to set
     */
    public void setAddress(SocketAddress address) {
        this.address = address;
    }

    /**
     * @return the data
     */
    public String getData() {
        return data;
    }

    /**
     * @param data the data to set
     */
    public void setData(String data) {
        this.data = data;
    }
    
}
